<#-- 新增页面 -->
<#import layoutTemplet as layout>
<#assign contextPath=request.getContextPath()>
<#-- 调用布局指令 -->
<@layout.html>
<#escape x as x?html>
<#-- 导航区 -->
<div class="breadcrumbs ace-save-state breadcrumbs-fixed" id="breadcrumbs">
    <ul class="breadcrumb">
        <li>
            <i class="ace-icon fa fa-home home-icon"></i>
            <span class="grey">主数据</span>
        </li>
        <li class="active">
            <span class="grey">机构信息</span>
        </li>
    </ul>
    <div class="nav-search" id="nav-search">
        <button class="mfui-btn mfui-btn-primary mfui-btn-sm" id="headGoBackBtn">　返回　</button>
    </div>
</div>

<#-- 新增表单 -->
<div class="page-content">
    <div class="page-header">
        <h1>
            机构信息
            <small>
                <i class="ace-icon fa fa-angle-double-right"></i>
                新增
            </small>
        </h1>
    </div>
    <div class="row">
        <div class="col-xs-12">
            <form id="addForm" class="form-horizontal">
                <div class="form-group">
                    <label class="col-sm-2 control-label no-padding-right" for="orgName">
                        <span class="red">*</span> 机构名称
                    </label>
                    <div class="col-sm-8">
                        <input type="text" class="form-control col-sm-12" id="orgName" name="orgName"
                               data-rule="required"
                               maxlength="50"/>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-2 control-label no-padding-right" for="linkman">
                        <span class="red">*</span> 联系人
                    </label>
                    <div class="col-sm-3">
                        <input type="text" class="form-control col-sm-12" id="linkman" name="linkman" data-rule="required" maxlength="50"/>
                    </div>
                    <label class="col-sm-2 control-label no-padding-right" for="mobileNo">
                        <span class="red">*</span> 联系电话
                    </label>
                    <div class="col-sm-3">
                        <input type="text" class="form-control col-sm-12" id="mobileNo" name="mobileNo" data-rule="required; mobile" maxlength="50"/>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-2 control-label no-padding-right" for="provinceCode">
                        <span class="red">*</span> 所在省
                    </label>
                    <div class="col-sm-3">
                        <select class="form-select2" id="provinceCode" name="provinceCode" data-rule="required" >
                            <option value="">请选择</option>
                        </select>
                    </div>
                    <label class="col-sm-2 control-label no-padding-right" for="cityCode">
                        <span class="red">*</span> 所在市
                    </label>
                    <div class="col-sm-3">
                        <select class="form-select2" id="cityCode" name="cityCode" data-rule="required" >
                            <option value="">请选择</option>
                        </select>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-2 control-label no-padding-right" for="countyCode">
                        <span class="red">*</span> 所在县/区
                    </label>
                    <div class="col-sm-3">
                        <select class="form-select2" id="countyCode" name="countyCode" data-rule="required" >
                            <option value="">请选择</option>
                        </select>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-2 control-label no-padding-right" for="address">
                        详细地址
                    </label>
                    <div class="col-sm-8">
                        <input type="text" class="form-control col-sm-12" id="address" name="address" maxlength="100"/>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-2 control-label no-padding-right" for="remark">
                        备注
                    </label>
                    <div class="col-sm-8">
                        <textarea class="form-control col-sm-12" id="remark" name="remark"></textarea>
                    </div>
                </div>
                <div class="form-group">
                    <hr class="hr hr-32"/>
                    <div class="center">
                        <button type="button" class="mfui-btn mfui-btn-normal mfui-btn-lg" id="saveBtn">
                            保存
                        </button>
                        <button type="button" class="mfui-btn mfui-btn-primary mfui-btn-lg" id="goBackBtn">
                            返回
                        </button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>
<script src="${contextPath}/public/js/opt/org/org_info_add.js"></script>
</#escape>
</@layout.html>